package com.artron.mediaartron.ui.adapter;

import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;

import com.artron.mediaartron.base.BaseFragmentPagerAdapter;
import com.artron.mediaartron.ui.fragment.custom.CustomMadeItemFragment;

/**
 * Class description here
 *
 * @author doing
 * @version 1.0.0
 * @since 2017-09-20.
 */
public class VerticalPagerAdapter extends BaseFragmentPagerAdapter{

    public VerticalPagerAdapter(FragmentManager childFragmentManager) {
        super(childFragmentManager);
    }

    @Override
    public Fragment getItem(int position) {
        return CustomMadeItemFragment.newInstance(position);
    }

    @Override
    public int getCount() {
        return 5;
    }
}
